package com.hqq.architectural.cqrs.commanders;

/**
 * ICommandService 完成增删改功能的接口
 * Created by heqianqian on 2017/8/18.
 */
public interface ICommandService {

    void authorCreated(String username, String name, String email);

    void bookAddedToAuthor(String title, double price, String username);

    void authorNameUpdated(String username, String name);

    void authorUsernameUpdated(String oldUsername, String newUsername);

    void authorEmailUpdated(String username, String email);

    void bookTitleUpdated(String oldTitle, String newTitle);

    void bookPriceUpdated(String title, double price);
}
